Your bit parameter is out of range. It must be between 0 and 31.